package hu.mapro.flang.gwt.client.request;

import hu.mapro.flang.gwt.domain.client.AutoBeans.Book;
import hu.mapro.gwtui.client.data.EntityRequestMethods;

import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;

//@ExtraTypes(Book.class)
public interface BookRequestMethods extends RequestContext,
		EntityRequestMethods<Book> {

	Request<java.lang.Void> persist(Book book);

	Request<Book> merge(Book book);

	Request<java.lang.Void> remove(Book object);

//	Request<java.util.List<Book>> list(int firstResult, int maxResults,
//			List<SortFieldProxy> sort);

	Request<java.util.List<Book>> list();

}
